//
//  ConfigHeader.swift
//  swiftProject
//
//  Created by ZhangSai on 2021/4/25.
//

import UIKit

class ConfigHeader: NSObject {

    static let instance : ConfigHeader = ConfigHeader()
    class func sharedConfigTool() -> ConfigHeader {
        return instance
    }
    
    func isIphone() -> Bool {
        if UIScreen.main.bounds.size.height/UIScreen.main.bounds.size.width > 2 {
            return true
        } else {
            return false
        }
        
    }
}
